package com.glq1218.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Test)表实体类
 *
 * @author glq1218
 * @since 2022-10-14 22:54:06
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Test implements Serializable {
    private static final long serialVersionUID = -55952861143463374L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "username")
    private String username;
    @TableField(value = "password")
    private String password;
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    /**
     * 1表示删除，0表示未删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;
}

